package com.hc.ssm.pojo;

import java.io.Serializable;

public class Member implements Serializable {

    private Integer id;//id
    private String name;//名字 老王
    private String address;//地址
    private String sex;//性别

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Member(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Member() {
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Member{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
